<?php
if (!defined('BASEPATH')) die('Acesso direto ao script bloqueado.');
if (!class_exists('SmartyView'))
{
    require_once APPPATH . 'libraries/smartyview' . EXT;
}
$obj =& get_instance();
$obj->smartyview = new SmartyView();
$obj->ci_is_loaded[] = 'smartyview'; 

?>